<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2024/5/19
  Time: 16:28
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <!--这个页面存在是为了引入这些文件-->
    <title>top页面</title>
    <link rel="stylesheet" href="<%=request.getContextPath()%>/resources/gijgo/css/gijgo.css">
    <link rel="stylesheet" href="<%=request.getContextPath()%>/resources/bs4.6/css/bootstrap.css">
    <script src="<%=request.getContextPath()%>/resources/jQuery/jquery-3.7.1.min.js"></script>
    <script src="<%=request.getContextPath()%>/resources/bs4.6/js/bootstrap.bundle.min.js"></script>
    <script src="<%=request.getContextPath()%>/resources/gijgo/js/messages/messages.zh-cn.js"></script>
    <script src="<%=request.getContextPath()%>/resources/gijgo/js/gijgo.js"></script>
    <script src="<%=request.getContextPath()%>/resources/js/common.js"></script>

</head>
<body>
    <div class="row my-4">
        <!--布局logo图片-->
        <div class="col-sm-8 pr-0 text-primary h3">
            学生管理系统
        </div>

        <div class="col-sm-4 d-flex justify-content-center align-items-center">
            <!--判断是否已经登陆了，如果登陆了则展示“退出按钮”-->
            <c:if test="${sessionScope.admin != null || sessionScope.student != null}">
                <a href="<%=request.getContextPath()%>/logout" class="btn btn-outline-warning border-0">退出</a>
            </c:if>

        </div>


        <!--提示框-->
        <div class="modal fade"  data-backdrop="static" tabindex="-1" id="tioModal">
            <div class="modal-dialog modal-dialog-centered modal-sm">
                <div class="modal-content">
                    <div class="modal-header">
                        <h5 class="modal-title">提示信息</h5>
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                            <span aria-hidden="true">&times;</span>
                        </button>
                    </div>
                    <div class="modal-body" id="tipCont"></div>
                    <div class="modal-footer">
                        <button type="button" id="closeModal" class="btn btn-primary">关闭</button>
                    </div>
                </div>
            </div>
        </div>

    </div>
</body>
</html>
